import { Button, View, Text } from '@tarojs/components'

export default function Mycomp(props) {
  return (

    <View>
      <Text>{props.value}</Text>
      <Button onClick={() => {
        props.onEvent('1111')
      }}
      >传递</Button>
      {props.children}
    </View>

  )
}
